package com.zzyweb.rentalcarsys.service;

import com.zzyweb.rentalcarsys.entity.News;
import com.zzyweb.rentalcarsys.utils.PageResult;

import java.util.List;

public interface NewsService {
    PageResult<News> getAllNews(Long currentPage, Long pageSize, News news);
    void modifyNews(News news);
    void deleteNewsById(String newsId);
    void deleteNewsBatch(String ids);
    Long addNews(News news);
}
